//
//  WAVipModel.m
//  WalkiOS
//
//  Created by luqiuan on 2019/11/3.
//  Copyright © 2019 Chenmuzhou. All rights reserved.
//

#import "WAVipModel.h"

@implementation WAVipModel
//@property (nonatomic, strong) NSString *sort;
//@property (nonatomic, strong) NSString *yuluValue;
//@property (nonatomic, strong) NSString *serviceCharge;

- (instancetype)initWithSort:(NSString *)sort yuluValue:(NSString *)yuluValue serviceCharge:(NSString *)serviceCharge
{
    self = [super init];
    if (self) {
        self.serviceCharge = serviceCharge;
        self.yuluValue = yuluValue;
        self.sort = sort;
    }
    return self;
}

+ (NSArray *)getVipList{
    NSMutableArray *dataSouces = [NSMutableArray new];
    NSArray *sortList = @[@"会员等级Lv0",
                          @"会员等级Lv1",
                          @"会员等级Lv2",
                          @"会员等级Lv3",
                          @"会员等级Lv4",
                          @"会员等级Lv5",
                          @"会员等级Lv6"];
    NSArray *yuluList = @[@"雨露流水0~4999",
                          @"雨露流水满5000",
                          @"雨露流水满15000",
                          @"雨露流水满30000",
                          @"雨露流水满50000",
                          @"雨露流水满70000",
                          @"雨露流水满100000"];
    NSArray *serviceChargeList = @[@"交换手续费70%",
                                   @"交换手续费60%",
                                   @"交换手续费50%",
                                   @"交换手续费40%",
                                   @"交换手续费30%",
                                   @"交换手续费20%",
                                   @"交换手续费10%"];
    for (int i = 0; i < yuluList.count; i ++) {
        WAVipModel *model = [WAVipModel new];
        model.serviceCharge = serviceChargeList[i];;
        model.yuluValue = yuluList[i];;
        model.sort = sortList[i];
        [dataSouces addObject:model];
    }
    
    
    
    return [dataSouces copy];
}
@end
